﻿using Quartz;

namespace WeWork.Service.Core.Jobs
{
    /// <summary>
    /// 
    /// </summary>
    [DisallowConcurrentExecution]
    public class SendEmailJob : IJob
    {
        private readonly ILogger<SendEmailJob> _logger;

        public SendEmailJob(ILogger<SendEmailJob> logger)
        {
            _logger = logger;
        }

        public Task Execute(IJobExecutionContext context)
        {
            _logger.LogError(" => 已运行1 ");
            return Task.CompletedTask;
        }
    }
}
